home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta NAME="Author,Design" Content="GateKeeper Team; gatekeeper@infopulse.net">
- <meta NAME="Copyright" Content="Infopulse; www.infopulse.net">
- <title>Empty</title>
- </head>
- <body>
- <%
- if Request.ReqParam("action") = "Add User" Then
- ' Add the new user in the userfilter map
-
- Username = Request.ReqParam("name")
-
- On Error Resume Next
-
- Accounts.AddNewUserFilter(UserName)
-
- If Not Err.Number = 0 Then
- ErrLine = Err.Description
- Else
- if Username = "Guest" Then
- Path = "GuestAccess.agp"
- Else
- Path = "EditUserAccess.agp?name=" + Username
- End If
- Response.Redirect(Path)
- End If
- End If
- %>
- <p><big><strong><font face="Arial">
- Manage new user
- </font></strong></big></p>
- <%
- If Not Len(ErrLine) = 0 Then
- Response.Write("<B><FONT COLOR=""#FF0000"">" & ErrLine & "</FONT></B><br>")
- End If
- %>
-
-
- <form method="POST" action= "/Rules/ManageNewUser.agp">
- <div>
- <table border="1" cellpadding="0" cellspacing="0" width="60%">
- <tr>
- <td width="50%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- Option
- </font></strong></td>
- <td width="50%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- Value
- </font></strong></td>
- </tr>
- <tr>
- <td width="50%"><strong><font face="Arial">
- User Name
- </strong></font></td>
- <td width="50%"><font face="Arial">
-
- <select name="name" size="1">
- <%
- Set users = Accounts.users
- for i = 1 to users.count
- Set user = users.item(i)
- %>
- <option value="<%Response.Write(user.Name)%>"><%Response.Write(user.Name)%></option>
- <%
- next
- %>
- </select>
- </font></td>
- </tr>
-
- </table>
- </div>
- <br>
-
- <input type="submit" name="action" value="Add User">
- </form>
- <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font>
- </body>
- </html>
-